package com.example.business_oa.service;


import com.example.comment_oa.dubbo.QiDongLiZhiDubbo;
import io.seata.spring.annotation.GlobalTransactional;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class QiDongLiZhiService {
    @DubboReference(version = "1.0.0")
    QiDongLiZhiDubbo qiDongLiZhiDubbo;

    @GlobalTransactional(timeoutMills = 300000)
    public void qidongLiZhiShenQing(String GongHao, Map<String, Object> variables, String assignee1, String fulibianhao){
        qiDongLiZhiDubbo.qidongLiZhiShenQing(GongHao,variables,assignee1,fulibianhao);
    }

}
